package com.quiz.bis.service;

import com.quiz.bis.domain.bo.PaperStrategyBO;
import com.quiz.bis.domain.model.PaperStrategy;
import com.quiz.bis.domain.vo.PaperStrategyVO;
import com.quiz.common.core.domain.R;
import com.quiz.common.mybatis.core.page.PageQuery;
import com.quiz.common.mybatis.core.page.TableDataInfo;

/**
 * 组卷策略服务接口
 *
 * @author ahuan
 */
public interface IPaperStrategyService {

    TableDataInfo<PaperStrategy> pageStrategyList(PageQuery pageQuery, String name, Integer strategyType);

    R<Long> createStrategy(PaperStrategyBO strategyBO);

    R<PaperStrategy> getStrategyDetail(Long strategyId);

    R<Void> updateStrategy(PaperStrategyBO strategyBO);

    R<Void> deleteStrategy(Long strategyId);
}